import request from '@/utils/request';

//获取设备在线状态
export const getDeviceStateApi = () => request.get(`/device/status`);

//获取设备属性
export const getDeviceAttributeApi = () => request.get(`/device/attribute`);

//命令下发
export const commandApi = (commandParams) => request.post(`/command`, commandParams);